﻿<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d"
  xmlns:Controls="clr-namespace:FlickrDownloadr.Controls"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008">

    <!--ACCENT COLORS-->
    <Color x:Key="HighlightDarkColor">#FFC7893D</Color>
    <Color x:Key="HighlightLightColor">#FFB2E0F4</Color>

    <!--BASE COLORS-->
    <Color x:Key="BlackColor">#FF000000</Color>
    <Color x:Key="WhiteColor">#FFFFFFFF</Color>
    <Color x:Key="Gray1">#FFCCCCCC</Color>
    <Color x:Key="Gray2">#FF7F7F7F</Color>
    <Color x:Key="Gray3">#FF333333</Color>
    <Color x:Key="Gray4">#FFB9B9B9</Color>
    <Color x:Key="Gray5">#FFD8D8D9</Color>
    <Color x:Key="Gray6">#FF9D9D9D</Color>
    <Color x:Key="Gray7">#FFF7F7F7</Color>
    <Color x:Key="Gray8">#FFE0E0E0</Color>
    <Color x:Key="Gray9">#FFA59F93</Color>
    <Color x:Key="Gray10">#7FFFFFFF</Color>
    <Color x:Key="Gray11">#7FA9A9A9</Color>
    <Color x:Key="Gray12">#A5F7F7F7</Color>
    <Color x:Key="Gray13">#5EC9C9C9</Color>

    <!--LIGHT COLOR TRANSPARENCIES-->
    <!--0%-->
    <Color x:Key="TransparentWhiteColor">#00FFFFFF</Color>
    <!--10%-->
    <Color x:Key="TransparentWhiteLightColor">#19FFFFFF</Color>
    <!--25%-->
    <Color x:Key="TransparentLightestColor">#34FFFFFF</Color>
    <!--65%-->
    <Color x:Key="TransparentLightLightColor">#A5FFFFFF</Color>
    <!--85%-->
    <Color x:Key="TransparentLightColor">#D8FFFFFF</Color>

    <SolidColorBrush x:Key="ControlsDisabledBrush" Color="{StaticResource TransparentLightLightColor}"/>

<SolidColorBrush x:Key="TextBoxMouseOverInnerBorderBrush" Color="{StaticResource HighlightLightColor}" />
<SolidColorBrush x:Key="TextBoxMouseOverBorderBrush" Color="{StaticResource HighlightDarkColor}" />
    
    
    <SolidColorBrush x:Key="GrayBrush1" Color="{StaticResource Gray1}"/>
    <SolidColorBrush x:Key="GrayBrush2" Color="{StaticResource Gray2}"/>
    <SolidColorBrush x:Key="GrayBrush3" Color="{StaticResource Gray3}"/>
    <SolidColorBrush x:Key="GrayBrush4" Color="{StaticResource Gray4}"/>
    <SolidColorBrush x:Key="GrayBrush5" Color="{StaticResource Gray5}"/>
    <SolidColorBrush x:Key="GrayBrush6" Color="{StaticResource Gray6}"/>
    <SolidColorBrush x:Key="GrayBrush7" Color="{StaticResource Gray7}"/>
    <SolidColorBrush x:Key="GrayBrush8" Color="{StaticResource Gray8}"/>
    <SolidColorBrush x:Key="GrayBrush9" Color="{StaticResource Gray9}"/>
    <SolidColorBrush x:Key="GrayBrush10" Color="{StaticResource Gray10}"/>
    <SolidColorBrush x:Key="GrayBrush11" Color="{StaticResource Gray11}"/>
    <SolidColorBrush x:Key="GrayBrush12" Color="{StaticResource Gray12}"/>
    <SolidColorBrush x:Key="GrayBrush13" Color="{StaticResource Gray13}"/>

    <Style TargetType="{x:Type TextBlock}">
        <Setter Property="FontSize" Value="14" />
    </Style>

    <!-- IconButton Style-->
    <Style x:Key="IconButtonStyle" TargetType="{x:Type Controls:IconButton}">

        <Setter Property="IsEnabled" Value="true" />
        <Setter Property="IsTabStop" Value="true" />

        <Setter Property="Width" Value="30" />
        <Setter Property="Height" Value="30" />
        <Setter Property="FontSize" Value="10" />

		<Setter Property="Template" Value="{DynamicResource IconButtonTemplate}" />

<!--
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Controls:IconButton}">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MouseOverBorder">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PressedBorder">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="DisabledVisualElement">
                                            <SplineDoubleKeyFrame KeyTime="0" Value="0.7"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="contentPresenter">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.3"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusRectangle">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="FocusInnerRectangle">
                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>

                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>

                        <Ellipse Name="ellipse1" Stroke="Black" StrokeThickness="2" />
-->
                        <!--<Canvas x:Name="IconContainer" />-->
<!--
                        <Path x:Name="PlusIcon" Visibility="Visible" Fill="#FFFFFFFF" Height="15" HorizontalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Center" Width="15" Data="F1 M 755.001,355L 750.001,355L 750.001,350C 750.001,349.45 749.551,349 749.001,349L 748.001,349C 747.451,349 747.001,349.45 747.001,350L 747.001,355L 742.001,355C 741.451,355 741.001,355.45 741.001,356L 741.001,357C 741.001,357.55 741.451,358 742.001,358L 747.001,358L 747.001,363C 747.001,363.55 747.451,364 748.001,364L 749.001,364C 749.551,364 750.001,363.55 750.001,363L 750.001,358L 755.001,358C 755.551,358 756.001,357.55 756.001,357L 756.001,356C 756.001,355.45 755.551,355 755.001,355 Z " />
                        <Path x:Name="MinusIcon" Visibility="Collapsed" Width="15" Height="3" Stretch="Fill" Fill="#FFFFFFFF" HorizontalAlignment="Center" UseLayoutRounding="False" VerticalAlignment="Center" Data="F1 M 780.001,355C 780.551,355 781.001,355.45 781.001,356L 781.001,357C 781.001,357.55 780.551,358 780.001,358L 767.001,358C 766.451,358 766.001,357.55 766.001,357L 766.001,356C 766.001,355.45 766.451,355 767.001,355L 780.001,355 Z "/>
                        <Path x:Name="LeftIcon" Visibility="Collapsed" Height="15" Stretch="Fill" Fill="#FFFFFFFF" UseLayoutRounding="False" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15.001" Data="F1 M 451.998,391.249L 443.997,391.249L 443.997,385.251L 437.997,392.751L 443.997,400.251L 443.997,394.249L 451.998,394.249C 452.548,394.249 452.998,393.799 452.998,393.249L 452.998,392.249C 452.998,391.699 452.548,391.249 451.998,391.249 Z " />

                        <Path x:Name="MoveLeftIcon" Visibility="Visible" Height="15" Stretch="Fill" Fill="#FFFFFFFF" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15" Data="F1 M 728.997,597.751L 724.998,593.751L 728.997,589.751M 734,586.251L 721,586.251C 720.45,586.251 720,586.701 720,587.251L 720,600.251C 720,600.8 720.45,601.251 721,601.251L 734,601.251C 734.55,601.251 735,600.8 735,600.251L 735,587.251C 735,586.701 734.55,586.251 734,586.251 Z " />
                        <Path x:Name="MoveRightIcon" Visibility="Visible" Height="15" Stretch="Fill" Fill="#FFFFFFFF" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15" Data="F1 M 750.999,597.751L 750.999,589.751L 754.998,593.751M 759,586.251L 746,586.251C 745.45,586.251 745,586.701 745,587.251L 745,600.251C 745,600.8 745.45,601.251 746,601.251L 759,601.251C 759.55,601.251 760,600.8 760,600.251L 760,587.251C 760,586.701 759.55,586.251 759,586.251 Z "/>



                        <Border x:Name="Background" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="3"/>
                        
                        
                        <Rectangle x:Name="DisabledVisualElement" Fill="{StaticResource ControlsDisabledBrush}" IsHitTestVisible="false" Opacity="0" RadiusY="3" RadiusX="3"/>
                        <Border x:Name="MouseOverBorder" Background="{StaticResource GrayBrush8}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3.5" Opacity="0"/>
                        <Border x:Name="PressedBorder" Background="{StaticResource GrayBrush5}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3.5" Opacity="0"/>
                        

                        <Rectangle x:Name="FocusRectangle" Stroke="{StaticResource TextBoxMouseOverInnerBorderBrush}" RadiusY="4" RadiusX="4" Margin="-1" Opacity="0" />
                        <Rectangle x:Name="FocusInnerRectangle" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{StaticResource TextBoxMouseOverBorderBrush}" RadiusX="3" RadiusY="3" Opacity="0" />
                        <ContentPresenter x:Name="contentPresenter" Visibility="Collapsed" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>-->
		
    </Style>
    
    <Style x:Key="IconButtonStyleEx" TargetType="{x:Type Button}" BasedOn="{x:Null}">
    	<Setter Property="Foreground" Value="{StaticResource ButtonFontColor}"/>
    	<Setter Property="Padding" Value="3"/>
    	<Setter Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
    	<Setter Property="Template" Value="{DynamicResource ButtonTemplate}" />
    </Style>
	

    <ControlTemplate x:Key="IconButtonTemplate" TargetType="{x:Type Controls:IconButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Key="HoverOn">
                                <DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Key="HoverOff">
                                <DoubleAnimation Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Key="PressedOn">
                                <DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Key="PressedOff">
                                <DoubleAnimation Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Name="Grid">
                        	<Border x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F" CornerRadius="3"/>
                        	<Border x:Name="BackgroundNorm_highlight" Margin="1" BorderBrush="#F2FFFFFF" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0.65"/>
                        	<Border x:Name="BackgroundOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                        	<Border x:Name="BackgroundOver_Highlight" Margin="1" Background="{StaticResource btnOverFillHighlight}" BorderBrush="{StaticResource hoverStroke}" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0"/>
                        	<Border x:Name="BackgroundPressed" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                        	<Border x:Name="BackgoundPressed_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" CornerRadius="2.5" Opacity="0"/>
                        	<Border x:Name="Background_overlay" Margin="1,1,1,0" BorderThickness="1" CornerRadius="3,3,0,0">
                        		<Border.Background>
                        			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        				<GradientStop Color="#00FFFFFF" Offset="0"/>
                        				<GradientStop Color="#72FFFFFF" Offset="0.157"/>
                        				<GradientStop Color="#72FFFFFF" Offset="0.5"/>
                        				<GradientStop Color="#00FFFFFF" Offset="0.51"/>
                        			</LinearGradientBrush>
                        		</Border.Background>
                        	</Border>
                        	<Border x:Name="DisabledVisualElement" Background="#FFF1F1F1" BorderBrush="#FFB2B2B2" BorderThickness="1" CornerRadius="3" IsHitTestVisible="false" Visibility="Collapsed"/>
                        	<ContentPresenter
                        		x:Name="contentPresenter"
                        		Content="{TemplateBinding Content}"
                        		ContentTemplate="{TemplateBinding ContentTemplate}"
                        		VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        		HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        		Margin="{TemplateBinding Padding}"/>
                        	<TextBlock Panel.ZIndex="1"
                        		x:Name="DisabledOverlay"
                        		Text="{TemplateBinding Content}"
                        		Foreground="#FF969696"
                        		HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        		VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        		Margin="{TemplateBinding Padding}"
                        		Visibility="Collapsed"/>
                        	<Border x:Name="FocusVisualElement" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Opacity="0"/>
                        	<Border x:Name="DefaultBorder" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Opacity="0"/>
                        	<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Hello World" VerticalAlignment="Top"/>
							
							
                        <Path x:Name="PlusIcon" Visibility="Visible" Fill="#FFFFFFFF" Height="15" HorizontalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Center" Width="15" Data="F1 M 755.001,355L 750.001,355L 750.001,350C 750.001,349.45 749.551,349 749.001,349L 748.001,349C 747.451,349 747.001,349.45 747.001,350L 747.001,355L 742.001,355C 741.451,355 741.001,355.45 741.001,356L 741.001,357C 741.001,357.55 741.451,358 742.001,358L 747.001,358L 747.001,363C 747.001,363.55 747.451,364 748.001,364L 749.001,364C 749.551,364 750.001,363.55 750.001,363L 750.001,358L 755.001,358C 755.551,358 756.001,357.55 756.001,357L 756.001,356C 756.001,355.45 755.551,355 755.001,355 Z " />
                        <Path x:Name="MinusIcon" Visibility="Collapsed" Width="15" Height="3" Stretch="Fill" Fill="#FFFFFFFF" HorizontalAlignment="Center" UseLayoutRounding="False" VerticalAlignment="Center" Data="F1 M 780.001,355C 780.551,355 781.001,355.45 781.001,356L 781.001,357C 781.001,357.55 780.551,358 780.001,358L 767.001,358C 766.451,358 766.001,357.55 766.001,357L 766.001,356C 766.001,355.45 766.451,355 767.001,355L 780.001,355 Z "/>
                        <Path x:Name="LeftIcon" Visibility="Collapsed" Height="15" Stretch="Fill" Fill="#FFFFFFFF" UseLayoutRounding="False" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15.001" Data="F1 M 451.998,391.249L 443.997,391.249L 443.997,385.251L 437.997,392.751L 443.997,400.251L 443.997,394.249L 451.998,394.249C 452.548,394.249 452.998,393.799 452.998,393.249L 452.998,392.249C 452.998,391.699 452.548,391.249 451.998,391.249 Z " />

                        <Path x:Name="MoveLeftIcon" Visibility="Visible" Height="15" Stretch="Fill" Fill="#FFFFFFFF" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15" Data="F1 M 728.997,597.751L 724.998,593.751L 728.997,589.751M 734,586.251L 721,586.251C 720.45,586.251 720,586.701 720,587.251L 720,600.251C 720,600.8 720.45,601.251 721,601.251L 734,601.251C 734.55,601.251 735,600.8 735,600.251L 735,587.251C 735,586.701 734.55,586.251 734,586.251 Z " />
                        <Path x:Name="MoveRightIcon" Visibility="Visible" Height="15" Stretch="Fill" Fill="#FFFFFFFF" VerticalAlignment="Center" HorizontalAlignment="Center" Width="15" Data="F1 M 750.999,597.751L 750.999,589.751L 754.998,593.751M 759,586.251L 746,586.251C 745.45,586.251 745,586.701 745,587.251L 745,600.251C 745,600.8 745.45,601.251 746,601.251L 759,601.251C 759.55,601.251 760,600.8 760,600.251L 760,587.251C 760,586.701 759.55,586.251 759,586.251 Z "/>

							
							
                        </Grid>

                        <ControlTemplate.Triggers>
                            <Trigger Property="IsDefault" Value="True">
                                <Setter Property="Opacity" TargetName="DefaultBorder" Value="1"/>
                            </Trigger>
                            <Trigger Property="IsKeyboardFocused" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard Storyboard="{StaticResource PressedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger Property="IsEnabled" Value="true"/>
                            <Trigger Property="IsEnabled" Value="false">
                                <Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                                <Setter Property="Visibility" TargetName="DisabledOverlay" Value="Visible"/>
                                <Setter Property="Visibility" TargetName="contentPresenter" Value="Collapsed"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
	

</ResourceDictionary>
